JOYSTICK RIGHT

This command will return an integer value of one if the default joystick is pushed right, otherwise zero is return.

  Syntax
Return Integer=JOYSTICK RIGHT()
  Returns

The command will return a value of one if the default joystick is pushed right, otherwise zero is return

  Example Code
do
cls
print "joystick up "+str$(joystick up())
print "joystick down "+str$(joystick down())
print "joystick left "+str$(joystick left())
print "joystick right "+str$(joystick right())
loop
end
  See also

INPUT Commands Menu
Index